package com.chj.entity;

import java.util.Date;

public class Message {
    private String messageId;
    private String messageMsg;
    private String userId;
    private Date   createDate;
    private Date   modifyDate;
    private Date   deleteDate;
    private int    status;
    public String getMessageId() {
        return messageId;
    }
    public void setMessageId(String messageId) {
        this.messageId = messageId;
    }
    public String getMessageMsg() {
        return messageMsg;
    }
    public void setMessageMsg(String messageMsg) {
        this.messageMsg = messageMsg;
    }
    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public Date getCreateDate() {
        return createDate;
    }
    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
    public Date getModifyDate() {
        return modifyDate;
    }
    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }
    public Date getDeleteDate() {
        return deleteDate;
    }
    public void setDeleteDate(Date deleteDate) {
        this.deleteDate = deleteDate;
    }
    public int getStatus() {
        return status;
    }
    public void setStatus(int status) {
        this.status = status;
    }
    public Message() {
        super();
    }
    public Message(String messageId, String messageMsg, String userId,
            Date createDate, Date modifyDate, Date deleteDate, int status) {
        super();
        this.messageId = messageId;
        this.messageMsg = messageMsg;
        this.userId = userId;
        this.createDate = createDate;
        this.modifyDate = modifyDate;
        this.deleteDate = deleteDate;
        this.status = status;
    }
    public Message(String messageId, String messageMsg, String userId) {
        this.messageId = messageId;
        this.messageMsg = messageMsg;
        this.userId = userId;
        this.createDate = new Date();
        this.modifyDate = new Date();
        this.deleteDate = new Date();
        this.status = 1;
    }

    
}
